package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.StudentApply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-06-30 21:17
 */
@Mapper
public interface StudentApplyMapper {

    List<StudentApply> listStudentApplies(int postId);

    List<StudentApply> listStudentAppliesByNo(String studentNo);

    StudentApply getStudentApplyByNo(String studentNo);

    StudentApply getStudentApplyById(int id);

    int saveStudentApply(StudentApply studentApply);

    int updateStudentApply(StudentApply studentApply);

    int updateStudentApplyStatus(StudentApply studentApply);

    int deleteStudentApply(int id);

}
